package com.syqc.monitor.download

/**
 *@Author pc_hfjs
 *@Date 2022/3/19 14:27
 *@Desc
 */
interface DownCallback {
    //开始
    fun onStart()

    //用于进度的回调
    fun onLoading(total: Long, progress: Long)

    fun onSuccess(fileName: String){}

    //失败
    fun onFailure(e: Throwable)

}